package org.tale.mscp.ctreport.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.tale.mscp.ctreport.entity.AttendanceSetting.WorkDay;
import org.tale.mscp.ctreport.entity.AttendanceSetting.WorkDayType;
import org.tale.mscp.ctreport.entity.AttendanceSetting.WorkType;

import java.util.Date;
import java.util.List;

/**
 * Created by cwb on 2015/9/16.
 */
public interface AttendanceSetting extends BaseMapper<WorkDay> {

    List<WorkType> getWorkType();

    List<WorkDayType> getWorkDays(Date stDate, Date edDate);

    boolean deleteWorkDay(Date stDate, Date edDate);

    boolean setWorkDay(@Param("lwd") List<WorkDay> lwd);


}
